package com.rsk.entity.info;


import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;


@Data
@Entity
@Table(name = "rsk_information")
public class RskInformation implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "id")
	private long id;//主键

	@Column(name = "label_id")
    private long labelId;//标签ID
	
	@Column(name = "information_type")
    private int informationType;//资讯类型0文字，1视频

	@Column(name = "information_title")
	private String informationTitle;//资讯标题
	
	@Column(name = "information_photo")
	private String informationPhoto;//资讯封面
	
	@Column(name = "information_user")
	private String informationUser;//资讯作者
	
	@Column(name = "information")
	private String information;//资讯内容
	
	@Column(name = "information_url")
	private String informationUrl;//资讯视频路径
	
	@Column(name = "information_source")
	private int information_source;//资讯来源 0后台 1前台
	
	@Column(name = "information_status")
	private int informationStatus;//资讯状态 0发布 1未发布
	
	@Column(name = "information_read")
	private long informationRead;//资讯来源 0后台 1前台
	
	@Column(name = "is_del")
	private int isDel;//是否删除 0否 1是
	
	@Column(name = "operator_user")
	private long operatorUser;//操作人
	
	@Column(name = "operator_time")
	private Date operatorTime;//操作时间
	
}